package com.wzd.shoppingService.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 在线拍卖保证金记录表 在线拍卖保证金记录表
 *
 * @author WeiZiDong
 */
@Table(name = "`pms_online_deposit_record`")
@Data
@ApiModel("在线拍卖保证金记录表在线拍卖保证金记录表")
public class PmsOnlineDepositRecord implements Serializable {
    @Id
    @Column(name = "`id`")
    @ApiModelProperty(value = "id", example = "String")
    private String id;
    @Column(name = "`auction_id`")
    @ApiModelProperty(value = "拍卖商品id", example = "String")
    private String auctionId;
    @Column(name = "`number_id`")
    @ApiModelProperty(value = "用户id", example = "String")
    private String numberId;
    @Column(name = "`deposit_amount`")
    @ApiModelProperty(value = "缴纳保证金金额", example = "1")
    private Integer depositAmount;
    @Column(name = "`order_id`")
    @ApiModelProperty(value = "订单号", example = "String")
    private String orderId;
    @Column(name = "`order_serial_number`")
    @ApiModelProperty(value = "订单流水号", example = "String")
    private String orderSerialNumber;
    @Column(name = "`pay_type`")
    @ApiModelProperty(value = "支付方式1-余额；2-微信；3-支付宝", example = "1")
    private Integer payType;
    @Column(name = "`order_status`")
    @ApiModelProperty(value = "支付状态1-待支付；2-已支付；3-已取消", example = "1")
    private Integer orderStatus;
    @Column(name = "`refund_status`")
    @ApiModelProperty(value = "退款状态1-已退款；2-未退款", example = "1")
    private Integer refundStatus;
    @Column(name = "`delete_status`")
    @ApiModelProperty(value = "删除状态0-&gt;未删除；1-&gt;已删除", example = "1")
    private Integer deleteStatus;
    @Column(name = "`revision`")
    @ApiModelProperty(value = "乐观锁", example = "1")
    private Integer revision;
    @Column(name = "`create_by`")
    @ApiModelProperty(value = "创建人", example = "String")
    private String createBy;
    @Column(name = "`create_time`")
    @ApiModelProperty(value = "创建时间", example = "2019-05-05 17:55:31")
    private Date createTime;
    @Column(name = "`update_by`")
    @ApiModelProperty(value = "更新人", example = "String")
    private String updateBy;
    @Column(name = "`update_time`")
    @ApiModelProperty(value = "更新时间", example = "2019-05-05 17:55:31")
    private Date updateTime;

    private static final long serialVersionUID = 1L;
}
